object frmeClients: TfrmeClients
  Left = 0
  Top = 0
  Width = 443
  Height = 277
  Align = alClient
  AutoSize = True
  TabOrder = 0
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 443
    Height = 26
    AutoSize = True
    ButtonWidth = 25
    Caption = 'ToolBarClients'
    Images = DM.ImageListMain
    TabOrder = 0
    object ToolButtonAddClient: TToolButton
      Left = 0
      Top = 2
      Action = actAddClient
      ParentShowHint = False
      ShowHint = True
    end
    object ToolButtonEditClient: TToolButton
      Left = 25
      Top = 2
      Action = actEditClient
      ParentShowHint = False
      ShowHint = True
    end
    object ToolButtonDeleteClient: TToolButton
      Left = 50
      Top = 2
      Action = actDeleteClient
      ParentShowHint = False
      ShowHint = True
    end
    object ToolButton2: TToolButton
      Left = 75
      Top = 2
      Hint = #1053#1072#1081#1090#1080' '#1082#1083#1080#1077#1085#1090#1072' '#1087#1086' '#1084#1072#1075#1085#1080#1090#1085#1086#1081' '#1082#1072#1088#1090#1077
      Action = actFindFromCard
      ParentShowHint = False
      ShowHint = True
    end
  end
  object cxgClients: TcxGrid
    Left = 0
    Top = 26
    Width = 443
    Height = 251
    Align = alClient
    BorderStyle = cxcbsNone
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    LookAndFeel.Kind = lfOffice11
    LookAndFeel.NativeStyle = False
    object cxgClientsDBTableView1: TcxGridDBTableView
      OnDblClick = cxgClientsDBTableView1DblClick
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = dsClients
      DataController.KeyFieldNames = 'id_client'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skCount
          FieldName = '*'
          Column = ColDateReg
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.IncSearch = True
      OptionsData.CancelOnExit = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.Footer = True
      OptionsView.FooterAutoHeight = True
      OptionsView.GroupByBox = False
      Styles.IncSearch = DM.sIncSearch
      Styles.Selection = DM.sSelection
      Styles.OnGetContentStyle = cxgClientsDBTableView1StylesGetContentStyle
      Styles.Footer = DM.sHeader
      Styles.Header = DM.sHeader
      object cxgClientsDBTableView1lastname: TcxGridDBColumn
        Caption = #1060#1072#1084#1080#1083#1080#1103
        DataBinding.FieldName = 'lastname'
        HeaderAlignmentHorz = taCenter
        Width = 64
      end
      object cxgClientsDBTableView1name: TcxGridDBColumn
        Caption = #1048#1084#1103
        DataBinding.FieldName = 'name'
        HeaderAlignmentHorz = taCenter
        Width = 64
      end
      object cxgClientsDBTableView1patronimyc: TcxGridDBColumn
        Caption = #1054#1090#1095#1077#1089#1090#1074#1086
        DataBinding.FieldName = 'patronimyc'
        HeaderAlignmentHorz = taCenter
        Width = 50
      end
      object cxgClientsDBTableView1DBcaard_number: TcxGridDBColumn
        Caption = #1044'/'#1082#1072#1088#1090#1072
        DataBinding.FieldName = 'card_number'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 82
      end
      object cxgClientsDBTableView1phone: TcxGridDBColumn
        Caption = #1058#1077#1083#1077#1092#1086#1085
        DataBinding.FieldName = 'phone'
        HeaderAlignmentHorz = taCenter
        Width = 38
      end
      object cxgClientsDBTableView1birthday: TcxGridDBColumn
        Caption = #1044#1077#1085#1100' '#1088#1086#1078#1076#1077#1085#1080#1103
        DataBinding.FieldName = 'birthday'
        FooterAlignmentHorz = taCenter
        HeaderAlignmentHorz = taCenter
        Width = 35
      end
      object ColDateReg: TcxGridDBColumn
        Caption = #1044#1072#1090#1072' '#1088#1077#1075#1080#1089#1090#1088#1072#1094#1080#1080
        DataBinding.FieldName = 'date_reg'
        HeaderAlignmentHorz = taCenter
        Width = 31
      end
    end
    object cxgClientsLevel1: TcxGridLevel
      GridView = cxgClientsDBTableView1
    end
  end
  object qClients: TADOQuery
    Connection = DM.Conection
    CursorType = ctStatic
    LockType = ltReadOnly
    Parameters = <>
    SQL.Strings = (
      'SELECT * FROM client ORDER BY  lastname, name'
      '')
    Left = 688
    Top = 88
  end
  object ActionList: TActionList
    Images = DM.ImageListMain
    Left = 40
    Top = 48
    object actAddClient: TAction
      Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1082#1083#1080#1077#1085#1090#1072
      Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1085#1086#1074#1086#1075#1086' '#1082#1083#1080#1077#1085#1090#1072
      ImageIndex = 0
      ShortCut = 45
      OnExecute = actAddClientExecute
    end
    object actDeleteClient: TAction
      Caption = #1059#1076#1072#1083#1080#1090#1100' '#1082#1083#1080#1077#1085#1090#1072
      Hint = #1059#1076#1072#1083#1080#1090#1100' '#1082#1083#1080#1077#1085#1090#1072
      ImageIndex = 1
      ShortCut = 16430
      OnExecute = actDeleteClientExecute
      OnUpdate = actUpdate
    end
    object actEditClient: TAction
      Caption = #1056#1077#1076#1072#1082#1090#1080#1088#1074#1072#1090#1100
      Hint = #1056#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1090#1100' '#1076#1072#1085#1085#1099#1077' '#1087#1086' '#1082#1083#1080#1077#1085#1090#1091
      ImageIndex = 2
      ShortCut = 16453
      OnExecute = actEditClientExecute
      OnUpdate = actUpdate
    end
    object actFindFromCard: TAction
      Caption = #1040#1074#1090#1086#1088#1080#1079#1080#1088#1086#1074#1072#1090#1100' '#1082#1083#1080#1077#1085#1090#1072' '#1087#1086' '#1084#1072#1075#1085#1080#1090#1085#1086#1081' '#1082#1072#1088#1090#1077
      Hint = #1040#1074#1090#1086#1088#1080#1079#1080#1088#1086#1074#1072#1090#1100' '#1082#1083#1080#1077#1085#1090#1072' '#1087#1086' '#1084#1072#1075#1085#1080#1090#1085#1086#1081' '#1082#1072#1088#1090#1077
      ImageIndex = 17
      ShortCut = 16452
      OnExecute = actFindFromCardExecute
    end
  end
  object dsClients: TDataSource
    DataSet = qClients
    Left = 720
    Top = 88
  end
  object acTemp: TADOCommand
    Connection = DM.Conection
    Parameters = <>
    Left = 8
    Top = 48
  end
  object cxStyleRepositoryClients: TcxStyleRepository
    Left = 72
    Top = 52
    object cxStyleMain: TcxStyle
    end
    object cxStyleBirthDay: TcxStyle
      AssignedValues = [svColor]
      Color = clLime
    end
  end
end
